package com.joysuch.wwyt.openapi.services.serviceV1;


import com.joysuch.wwyt.core.exception.ApiCoreException;
import com.joysuch.wwyt.dzhapi.dto.BuildDataDto;
import com.joysuch.wwyt.openapi.controllers.controllerV1.req.ApiV1BaseUserAddReq;
import com.joysuch.wwyt.openapi.controllers.controllerV1.req.ApiV1BaseUserReq;
import com.joysuch.wwyt.openapi.controllers.controllerV1.req.ApiV1BaseUserUpdateReq;
import com.joysuch.wwyt.openapi.controllers.controllerV1.vo.ApiPagePropertyDataVo;
import com.joysuch.wwyt.openapi.controllers.controllerV1.vo.ApiResultData;
import com.joysuch.wwyt.openapi.exception.ApiV1ExceptionCodeMsg;

import java.io.IOException;
import java.util.List;

/**
 * @author: JamesZY
 * @date: 2021/8/23
 * @description:
 */
public interface ApiV1BaseUserService {

    ApiPagePropertyDataVo findAll(ApiV1BaseUserReq req, BuildDataDto buildDataDto);

    List<ApiResultData> batchDelete(List<String> data, BuildDataDto buildDataDto);

    void update(ApiV1BaseUserUpdateReq req, BuildDataDto buildDataDto) throws ApiV1ExceptionCodeMsg;

    List<ApiResultData> batchAdd(List<ApiV1BaseUserAddReq> data, BuildDataDto buildDataDto);
}
